package gupao.concurrency.demo.risk.exct;

import gupao.concurrency.demo.risk.model.AbstractResult;
import lombok.extern.slf4j.Slf4j;

import java.util.List;
import java.util.concurrent.atomic.AtomicReference;

@Slf4j
public class ExctResult extends AbstractResult {

    private final AtomicReference<List<Double>> edsDataList = new AtomicReference<>();
    private final AtomicReference<List<Double>> edcDataList = new AtomicReference<>();

    public List<Double> getEdsDataList() {
        return edsDataList.get();
    }

    public void setEdsDataList(List<Double> edsDataList) {
        this.edsDataList.set(edsDataList);
    }

    public List<Double> getEdcDataList() {
        return edcDataList.get();
    }

    public void setEdcDataList(List<Double> edcDataList) {
        this.edcDataList.set(edcDataList);
    }
}
